import { AppRouteObject } from '#/router.ts';
import { DataNavIcon } from '@ycx/ui';
import WorkOrderManagement from '@/pages/workOrderManagement';

const workOrder: AppRouteObject = {
  order: 3,
  path: 'work-order-management',
  meta: {
    label: '工单管理',
    key: '/work-order-management',
    icon: <DataNavIcon style={{ fontSize: '24px' }} />,
    permissions: ['WORK_ORDER'],
  },
  element: <WorkOrderManagement />,
};

export default workOrder;
